Fluent Assertions Documentation
FluentAssertions.Specialized Namespace / MemberExecutionTime<T> Class / MemberExecutionTime<T> Constructor
The object that exposes the method or property.
A reference to the method or property to measure the execution time of.
In This Topic
    MemberExecutionTime<T> Constructor
    In This Topic
    Initializes a new instance of the MemberExecutionTime<T> class.
    Syntax
    public MemberExecutionTime<T>( 
       T subject,
       Expression<Action<T>> action,
       StartTimer createTimer
    )

    Parameters

    subject
    The object that exposes the method or property.
    action
    A reference to the method or property to measure the execution time of.
    createTimer
    Exceptions
    ExceptionDescription
    subject is a null reference (Nothing in Visual Basic).
    action is a null reference (Nothing in Visual Basic).
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also